package com.glls.customer.service;

import com.glls.common.R;
import com.glls.common.entity.Goods;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * TODO
 *
 * @author junyang
 * @version 1.0.0
 * @date 2025/2/20 9:33
 */
public interface CustomerService {
    Goods findGoodsByIdWithFeign(Integer id);
    public Goods getjiFenById(@PathVariable("id") Long id);
    public Map deleteGoods(@RequestParam("id") Integer id);
    public Map updateGoods(@RequestBody Goods goods);
    public Map saveGoods(@RequestBody Goods goods);
    public Goods search(Integer id,String name);
    R findGoodsListWithFeign();
}
